package com.personal.system.custom;

//自定义密码组件
//@Component
//public class CustomMd5Password implements PasswordEncoder {
//    public String encode(CharSequence rawPassword) {
//        return MD5.encrypt(rawPassword.toString());
//    }
//
//    public boolean matches(CharSequence rawPassword, String encodedPassword) {
//        return encodedPassword.equals(MD5.encrypt(rawPassword.toString()));
//    }
//}
